-- GENERATED SPELL FOR [Zalas Witherbark] --


function spell0_2605(pUnit, Event) --@Shadow Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(9081,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2605', 3000, 1)
end

function Sorts_2605(pUnit, Event)
local choix_sorts_2605 = math.random(0, 0)
if choix_sorts_2605 == 0 then
pUnit:RegisterEvent('spell0_2605', 1, 1)
end
end

function mob2605_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2605', math.random(1500, 3000), 1)
end

function mob2605_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2605_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2605_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2605, 1, 'mob2605_Action')
RegisterUnitEvent(2605, 2, 'mob2605_Leave')
RegisterUnitEvent(2605, 3, 'mob2605_Kill')
RegisterUnitEvent(2605, 4, 'mob2605_Die')
